package com.ruoyi.biz.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BizBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;


/**
 * 项目开票对象 biz_invoice
 * 
 * @author tianl
 * @date 2024-12-31
 */
@Data
@Accessors(chain = true)
@TableName("biz_invoice")
public class BizInvoice extends BizBaseEntity {
    private static final long serialVersionUID = 1L;

    /** 所属项目 */
    private Long projectId;

    /** 发票抬头 */
    private Long headerId;

    /** 发票类型 */
    @Excel(name = "发票类型",dictType = "invoice_type",sort = 3)
    private String invoiceType;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String companyName;

    /** 开户银行 */
    @Excel(name = "开户银行")
    private String depositBank;

    /** 开户行账号 */
    @Excel(name = "开户行账号")
    private String cardNumber;

    /** 开票主体 */
    private Long invoiceSubjectId;

    /** 开票日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开票日期", width = 30, dateFormat = "yyyy-MM-dd",sort = 2)
    private Date invoiceTime;

    /** 开票金额 */
    @Excel(name = "开票金额",sort = 6)
    private BigDecimal invoiceMoney;

    /** 发票号码 */
    @Excel(name = "发票号码",sort = 7)
    private String invoiceNo;

    /** 应税服务名称 */
    @Excel(name = "应税服务名称",dictType = "invoice_service",sort = 8)
    private String invoiceService;

    /** 备注 */
    private String memo;

    /**
     * 开票人
     */
    private Long invoiceUserId;
    /**
     * 创建人
     */
    private Long userId;


}
